package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("tb_item_cat")
public class ItemCat extends BasePojo{
    @TableId(type = IdType.AUTO)//标明主键
    private Long id; //主键
    private Long parentId; //父级id
    private String name;   //名称
    private Integer status;//状态信息
    private Integer sortOrder;//排序号
    private Boolean isParent; //是否为父级
}
